package o;

import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

public class gcl {

    static class d implements gcq {
        private final Elements ˊ;
        private final gck ˎ;
        private final Element ॱ;

        d(Element element, Elements elements, gck o_gck) {
            this.ॱ = element;
            this.ˊ = elements;
            this.ˎ = o_gck;
        }

        public void ˏ(gbq o_gbq, int i) {
            if (o_gbq instanceof Element) {
                Element element = (Element) o_gbq;
                if (this.ˎ.ˎ(this.ॱ, element)) {
                    this.ˊ.add(element);
                }
            }
        }

        public void ˎ(gbq o_gbq, int i) {
        }
    }

    public static Elements ˎ(gck o_gck, Element element) {
        Elements elements = new Elements();
        gcm.ˏ(new d(element, elements, o_gck), element);
        return elements;
    }
}
